package com.vegetable.modules.service.stock;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.vegetable.modules.entity.stock.po.StockCostAddPO;
import com.vegetable.modules.entity.stock.po.StockCostChangeQueryPO;
import com.vegetable.modules.entity.stock.to.StockCostChangeDTO;

/**
 * <p>
 * 库存表 服务类
 * </p>
 *
 * @author wangruijie
 * @since 2024-03-21
 */
public interface IStockCostChangeService extends IService<StockCostChangeDTO> {

    IPage<StockCostChangeDTO> stockCostChange(StockCostChangeQueryPO po);
    Integer add(StockCostChangeDTO po);

    void StockCostAddPO(StockCostAddPO po) throws Exception;

    void revokeCostChange(StockCostAddPO po) throws Exception;
}
